package cn.edu.lingnan.service;

import cn.edu.lingnan.domain.dto.DepositDto;
import cn.edu.lingnan.domain.dto.WthdrawDto;
import cn.edu.lingnan.domain.pojo.Accounts;
import cn.edu.lingnan.domain.pojo.Atm;
import cn.edu.lingnan.domain.vo.Card_UserVo;
import cn.edu.lingnan.domain.vo.CardsVo;
import cn.edu.lingnan.domain.vo.UserVo;
import jakarta.servlet.http.HttpServletResponse;

import java.io.IOException;
import java.util.List;

public interface AtmService {
    List<Atm> getAtmInfo();

    Atm getAtmInfoByAid(Integer id);

    UserVo inputUserInfo(String name, String password);

    List<CardsVo> getCashExchangeCard();

    Card_UserVo verifyBankCardPassword(String cardNumber, String cardPassword);

    String withdraw(WthdrawDto wthdrawDto);

    Accounts getAccountInfoById(Integer accountId);

    String deposit(DepositDto depositDto);

    String exportExcel(Integer accountId, HttpServletResponse response)  throws IOException;
}
